#ifndef PAINTER_H
#define PAINTER_H

#include <functional>
#include <QPainter>
#include <QHash>

class Painters{
public:
    static std::function<void(QPainter&)> station(const QStringList &line);
    static std::function<void(QPainter&)> line(const QString &line);
    static std::function<void(QPainter&)> targetline(bool istarget);
private:
    static QHash<QString, QColor> color;
};

#endif // PAINTER_H
